﻿using ProtoBuf;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace vroom.wcf.service.protobuf.pocos
{
	[ProtoContract]
	public class Bucket
	{
        /*         
            [PosId]     INT             NOT NULL PRIMARY KEY,
            [Date]      DATETIME2       NOT NULL,
            [Grouper]   VARCHAR(128)    NOT NULL,
            [Val1]      DECIMAL(38,20)  NOT NULL,
            [Val2]      DECIMAL(38,20)  NOT NULL
        */

        [ProtoMember(2)]
        public Nullable<int> PosId { get; set; }

		[ProtoMember(1)]
		public System.DateTime Date { get; set; }
        
        [ProtoMember(4)]
        public string Grouper { get; set; }
        
		[ProtoMember(2)]
		public Nullable<decimal> val1 { get; set; }

		[ProtoMember(3)]
		public Nullable<decimal> val2 { get; set; }


	}
}
